﻿using System.IO;
using Microsoft.Xna.Framework;

namespace AnimationPackerEngine.Animation.CommandWriters
{
    public interface IWriterContext
    {
        string CurrentScript { get; set; }

        Rectangle AtlasRectForFile(string filename, string script);
        int ScriptIndex(string script);
    }

    internal interface ICommandWriter
    {
        void Write(BinaryWriter binaryWriter, IWriterContext context);
    }
}
